<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Packet <i>PastryRequestMessage</i></h2>
<b>File: <a href="src-overlay-pastry-PastryMessage.msg.html">src/overlay/pastry/PastryMessage.msg</a></b><br/><p><a href="../doxy/classPastryRequestMessage.html" target="mainframe"><b>C++ definition</b></a></p>

<p>Message used to request PastryState or a Leafset</p>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
Click <a href="full-msg-usage-diagram.html">here</a> to see the full picture.</p>
<img src="PastryRequestMessage-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="PastryRequestMessage.html" title="Packet PastryRequestMessage" alt="" coords="5,6,168,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
Click <a href="full-msg-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="PastryRequestMessage-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="PastryRequestMessage.html" title="Packet PastryRequestMessage" alt="" coords="5,83,168,111">
<area shape="rect" id="node2" href="PastryMessage.html" title="Packet PastryMessage" alt="" coords="31,6,143,34">
</map>
<h3 class="subtitle">Extends:</h3>
<table>
<tr>
   <td>
      <a href="PastryMessage.html">PastryMessage</a>
      <i> (packet)</i>
   </td>
   <td>

<p>Base message for all messages used by <a href="oversim.overlay.pastry.Pastry.html">Pastry</a></p>
   </td>
</tr>
</table>
<h3 class="subtitle">Fields:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">pastryReqType</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>the <a href="PastryMsgType.html">PastryMsgType</a></p>
</td>
</tr>
<tr class="inherited">
   <td width="150">statType</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>message type for stats</p>
</td>
</tr>
<tr class="local">
   <td width="150">sendStateTo</td>
   <td width="100">
      <i>
TransportAddress</i>
   </td>
   <td>
<p>TransportAddress of the node that requests the state</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">pastryMsgType</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>the <a href="PastryMsgType.html">PastryMsgType</a></p>
</td>
</tr>
<tr class="inherited">
   <td width="150">type</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>message type</p>
</td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// Message used to request PastryState or a Leafset
//
</span><span style="color: #800000; font-weight: bold; ">packet</span><span style="color: #000000; "> </span><span style="color: #000000; ">PastryRequestMessage</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">extends</span><span style="color: #000000; "> </span><span style="color: #000000; ">PastryMessage</span><span style="color: #000000; ">
{
    </span><span style="color: #000000; ">TransportAddress</span><span style="color: #000000; "> </span><span style="color: #000000; ">sendStateTo</span><span style="color: #000000; "> = </span><span style="color: #000000; ">TransportAddress</span><span style="color: #000000; ">::</span><span style="color: #000000; ">UNSPECIFIED_NODE</span><span style="color: #000000; ">;    </span><span style="color: #808080; font-style: italic; ">// TransportAddress of the node that requests the state
</span><span style="color: #000000; ">    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">pastryReqType</span><span style="color: #000000; "> = </span><span style="color: #000000; ">PASTRY_MSG_STD</span><span style="color: #000000; ">;    </span><span style="color: #808080; font-style: italic; ">// the PastryMsgType
</span><span style="color: #000000; ">}


</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
